 #{extends 'main.html' /}
 #{ifErrors} ${error} #{/ifErrors}
<head>
<script type="text/javascript"> 
var x=${isIdeaDeveloper};
 if(x==true)
	{
	   history.back()
	   setTimeout("",1000);
	   alert("your request has been submited");
	}
     
</script>

<title>Requested mirgins</title>
</head>

<body>
<br/>
#{if mirgingList && ! isIdeaDeveloper }
#{list items: mirgingList, as:'request'}
user ${request.user.nickName} requested mirging the following ideas:-
<br/>
#{list items: request.ideas, as:'idea'}
<a href = "@{Application.IdeaView(idea.id,request.topic,request.department)}"> ${idea.content}</a><br/>
#{/list}
<br/>
 <a href = "@{Application.manageMirg(request.id,1)}">Accept</a><br/>
 <a href = "@{Application.manageMirg(request.id,2)}">Reject</a>
<hr/>
<hr/>
#{/list}
#{/if}
#{else}
#{if isIdeaDeveloper}
allready proceeded go back
#{/if}
#{else}
No requests exist in this topic
#{/else}
#{/else}
<h4>kindly, press on back space to go back </h4>
</body>
